<div class="bjui-pageHeader">
    <div class="alert alert-info form-inline"> <i class="fa fa-warning"></i>
        客户总共支出：{$chu} RMB    网站总共收入：{$ru} RMB
    </div>
</div>
<div class="bjui-pageContent">
        <form action="{:U('Order/amlog')}" method="post" novalidate="novalidate" data-toggle="ajaxsearch" id="pagerForm">
    <!-- 分页使用FORM -->
    <!-- -->
        <input type="hidden" value="15" name="pageSize">
        <input type="hidden" value="{$nowPage}" name="pageCurrent">
        <input type="hidden" value="id" name="orderField">
        <input type="hidden" value="desc" name="orderDirection">
            <table  class="table table-bordered table-hover table-striped table-top">
            <thead>
            <tr>
                <th>订单编号</th>
                <th>金   额</th>
                <th>时   间</th>
                <th>昵   称</th>
                <th>类   型</th>
            </tr>
            </thead>
            <tbody>
            <foreach name='logs' item='v'>
            <tr>
                <td>{$v.orderid}</td>
                <td>{$v.orderfee}</td>
                <td>{$v.creattime|date='Y-m-d H:i:s',###}</td>
                <td>{$v.username}</td>
                <td>
                <if condition="$v['dtype'] eq 0">
                    <font color="red">支出</font>
                
                <else/>
                    <font color="blue">收入</font>
                </if>
                </td>
            </tr>
            </foreach>
            </tbody>
        </table>
        </form>
</div>
<div class="bjui-pageFooter">
<div class="pages">
        <span>每页&nbsp;</span>

        <div class="selectPagesize">
            <select data-toggle="selectpicker" data-toggle-change="changepagesize">
                <option value="15">15</option>
                <option value="30">30</option>
                <option value="60">60</option>
                <option value="100">100</option>
            </select>
        </div>
        <span>&nbsp;条，共 {$totalRows} 条</span>
    </div>

    <div class="pagination-box" data-toggle="pagination" data-total="{$totalRows}" data-page-size="15"
         data-page-current="{$nowPage}"></div>
</div>